package com.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 排班规则项表
 * </p>
 *
 * @author Demoon Liu
 * @since 2022-02-20
 */
@TableName("schedule_rule_item")
public class ScheduleRuleItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long staffid;

    private String daysofweek;

    private Integer status;

    private Long sklimit;

    private Long skruleid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getStaffid() {
        return staffid;
    }

    public void setStaffid(Long staffid) {
        this.staffid = staffid;
    }
    public String getDaysofweek() {
        return daysofweek;
    }

    public void setDaysofweek(String daysofweek) {
        this.daysofweek = daysofweek;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getSklimit() {
        return sklimit;
    }

    public void setSklimit(Long sklimit) {
        this.sklimit = sklimit;
    }
    public Long getSkruleid() {
        return skruleid;
    }

    public void setSkruleid(Long skruleid) {
        this.skruleid = skruleid;
    }

    @Override
    public String toString() {
        return "ScheduleRuleItem{" +
            "id=" + id +
            ", staffid=" + staffid +
            ", daysofweek=" + daysofweek +
            ", status=" + status +
            ", sklimit=" + sklimit +
            ", skruleid=" + skruleid +
        "}";
    }
}
